[MSBuild] How to run a target only it hasn't run?
Posted
by Nam Gi VU
on Stack Overflow
See other posts from Stack Overflow
or by Nam Gi VU
Published on 2010-03-19T08:02:27Z
Indexed on
2010/03/19
8:11 UTC
Read the original article
Hit count: 133
msbuild
I have a NAnt script like below:
<target name="Init" unless="${target::has-executed('Init')}">
What I want is to convert it into MSBuild script. What I can't do is to write MSBuild script to run a target only when it hasn't run like the above script.
Please help.
© Stack Overflow or respective owner